package lib.persistence;

import global.ConfigDataTest;

public class MySqlConfiguration 
{
	protected String username;
	protected String location;
	protected String password;
	protected String name;

	public MySqlConfiguration(String host, String username, String password, String dbname )
	{
		this.location = host;
		this.username = username; 
		this.password = password;
		this.name = dbname;
	}
	/**
	 * Defaults to using ConfigDataTest
	 */
	public MySqlConfiguration() {
		this.location = ConfigDataTest.DB_HOST;
		this.username = ConfigDataTest.DB_USER; 
		this.password = ConfigDataTest.DB_PW;
		this.name = ConfigDataTest.DB_NAME;

	}
	
	
}
